package hbxz.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yhb
 * @date 2021/6/8
 */
@FeignClient(value = "stock-service")
public interface StockService {

    @GetMapping("/stock/minus/{number}")
    String stockMinus(@PathVariable("number") Integer number);
}
